<?php 
	include "../class/funcoes.php";
	$login=$_POST['login'];
	$senha=$_POST['senha'];
	if (verifica_login($login, $senha))
		echo "<script language='javascript'>location.href='leitura.php';</script>";
	else
		echo "<script language='javascript'>alert('senha invalida ');
 	 	location.href='index.php';</script>";

?>